

public class sanyuan {
    public static void main(String[] args) {
        
        // 获取两个数中的较大的值
        int a = 10;
        int b = 20;
        int max = a>b ? a : b;
        System.out.println("max:" + max);


        


      
    }
    
}
